/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.antexpress.pojo;

import java.util.Date;

/**
 *
 * @author Dannis
 */
public class BillSelector {

    private CustomerInfo consignorInfo;//发货人信息
    private CustomerInfo consigneeInfo;//收货人信息
    //部分属性有区间范围就按范围查询，原始的部分属性可以删除，比如 weight 直接删除，用不到
    private double startweight;
    private double endweight;
    private double startfreight;
    private double endfreight;
    private int status;//订单状态

    private Date createtime;//创建时间
    private Date startcreatetime;
    private Date endcreatetime;
    private Date updatetime;//更新时间
    private Date startupdatetime;
    private Date endupdatetime;
//    private boolean finishState;//判断是否取件
    private String startprovince;//发货的省
    private String endprovince;//到货的省
    private String startcity;//发货的市区
    private String endcity;//到货的市区
    //是否要用这些条件进行查询
    private boolean choose_finishState;
    private boolean choose_start_province;
    private boolean choose_end_province;
    private boolean choose_start_city;
    private boolean choose_end_city;
//    private boolean choose_consignorInfo;
//    private boolean choose_consigneeInfo;
    private boolean choose_start_weight;
    private boolean choose_end_weight;
    private boolean choose_start_freight;
    private boolean choose_end_freight;
    private boolean choose_status;
    private boolean choose_createtime;
    private boolean choose_updatetime;
    private boolean choose_pro_city_select;

    public BillSelector(double startweight, double endweight, double startfreight, double endfreight, int status, Date startcreatetime, Date endcreatetime, Date startupdatetime, Date endupdatetime, String startprovince, String endprovince, String startcity, String endcity) {
        this.startweight = startweight;
        this.endweight = endweight;
        this.startfreight = startfreight;
        this.endfreight = endfreight;
        this.status = status;
        this.startcreatetime = startcreatetime;
        this.endcreatetime = endcreatetime;
        this.startupdatetime = startupdatetime;
        this.endupdatetime = endupdatetime;
        this.startprovince = startprovince;
        this.endprovince = endprovince;
        this.startcity = startcity;
        this.endcity = endcity;
    }

    public CustomerInfo getConsignorInfo() {
        return consignorInfo;
    }

    public void setConsignorInfo(CustomerInfo consignorInfo) {
        this.consignorInfo = consignorInfo;
    }

    public CustomerInfo getConsigneeInfo() {
        return consigneeInfo;
    }

    public void setConsigneeInfo(CustomerInfo consigneeInfo) {
        this.consigneeInfo = consigneeInfo;
    }

    public double getStartweight() {
        return startweight;
    }

    public void setStartweight(double startweight) {
        this.startweight = startweight;
    }

    public double getEndweight() {
        return endweight;
    }

    public void setEndweight(double endweight) {
        this.endweight = endweight;
    }

    public double getStartfreight() {
        return startfreight;
    }

    public void setStartfreight(double startfreight) {
        this.startfreight = startfreight;
    }

    public double getEndfreight() {
        return endfreight;
    }

    public void setEndfreight(double endfreight) {
        this.endfreight = endfreight;
    }

//    public int getAmount() {
//        return amount;
//    }
//
//    public void setAmount(int amount) {
//        this.amount = amount;
//    }
//
//    public int getStartamount() {
//        return startamount;
//    }
//
//    public void setStartamount(int startamount) {
//        this.startamount = startamount;
//    }
//
//    public int getEndamount() {
//        return endamount;
//    }
//
//    public void setEndamount(int endamount) {
//        this.endamount = endamount;
//    }
//
//    public int getPayment() {
//        return payment;
//    }
//
//    public void setPayment(int payment) {
//        this.payment = payment;
//    }
//
//    public double getInsured() {
//        return insured;
//    }
//
//    public void setInsured(double insured) {
//        this.insured = insured;
//    }
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getStartcreatetime() {
        return startcreatetime;
    }

    public void setStartcreatetime(Date startcreatetime) {
        this.startcreatetime = startcreatetime;
    }

    public Date getEndcreatetime() {
        return endcreatetime;
    }

    public void setEndcreatetime(Date endcreatetime) {
        this.endcreatetime = endcreatetime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getStartupdatetime() {
        return startupdatetime;
    }

    public void setStartupdatetime(Date startupdatetime) {
        this.startupdatetime = startupdatetime;
    }

    public Date getEndupdatetime() {
        return endupdatetime;
    }

    public void setEndupdatetime(Date endupdatetime) {
        this.endupdatetime = endupdatetime;
    }

//    public boolean isFinishState() {
//        return finishState;
//    }
//
//    public void setFinishState(boolean finishState) {
//        this.finishState = finishState;
//    }
    public String getStartprovince() {
        return startprovince;
    }

    public void setStartprovince(String startprovince) {
        this.startprovince = startprovince;
    }

    public String getEndprovince() {
        return endprovince;
    }

    public void setEndprovince(String endprovince) {
        this.endprovince = endprovince;
    }

    public String getStartcity() {
        return startcity;
    }

    public void setStartcity(String startcity) {
        this.startcity = startcity;
    }

    public String getEndcity() {
        return endcity;
    }

    public void setEndcity(String endcity) {
        this.endcity = endcity;
    }

    public boolean isChoose_finishState() {
        return choose_finishState;
    }

    public void setChoose_finishState(boolean choose_finishState) {
        this.choose_finishState = choose_finishState;
    }
    public boolean isChoose_status() {
        return choose_status;
    }

    public void setChoose_status(boolean choose_status) {
        this.choose_status = choose_status;
    }

    public boolean isChoose_createtime() {
        return choose_createtime;
    }

    public void setChoose_createtime(boolean choose_createtime) {
        this.choose_createtime = choose_createtime;
    }

    public boolean isChoose_updatetime() {
        return choose_updatetime;
    }

    public void setChoose_updatetime(boolean choose_updatetime) {
        this.choose_updatetime = choose_updatetime;
    }

    public boolean isChoose_start_province() {
        return choose_start_province;
    }

    public void setChoose_start_province(boolean choose_start_province) {
        this.choose_start_province = choose_start_province;
    }

    public boolean isChoose_end_province() {
        return choose_end_province;
    }

    public void setChoose_end_province(boolean choose_end_province) {
        this.choose_end_province = choose_end_province;
    }

    public boolean isChoose_start_city() {
        return choose_start_city;
    }

    public void setChoose_start_city(boolean choose_start_city) {
        this.choose_start_city = choose_start_city;
    }

    public boolean isChoose_end_city() {
        return choose_end_city;
    }

    public void setChoose_end_city(boolean choose_end_city) {
        this.choose_end_city = choose_end_city;
    }

    public boolean isChoose_start_weight() {
        return choose_start_weight;
    }

    public void setChoose_start_weight(boolean choose_start_weight) {
        this.choose_start_weight = choose_start_weight;
    }

    public boolean isChoose_end_weight() {
        return choose_end_weight;
    }

    public void setChoose_end_weight(boolean choose_end_weight) {
        this.choose_end_weight = choose_end_weight;
    }

    public boolean isChoose_start_freight() {
        return choose_start_freight;
    }

    public void setChoose_start_freight(boolean choose_start_freight) {
        this.choose_start_freight = choose_start_freight;
    }

    public boolean isChoose_end_freight() {
        return choose_end_freight;
    }

    public void setChoose_end_freight(boolean choose_end_freight) {
        this.choose_end_freight = choose_end_freight;
    }

    public boolean isChoose_pro_city_select() {
        return choose_pro_city_select;
    }

    public void setChoose_pro_city_select(boolean choose_pro_city_select) {
        this.choose_pro_city_select = choose_pro_city_select;
    }
}
